.PHONY:all
all:parser server http

server:server.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp
parser:parser.cc
	g++ -o $@ $^ -std=c++11 -lboost_system -lboost_filesystem
http:http_server.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp -lpthread

.PHONY:clean
clean:
	rm -f parser server http